package com.tfblog.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tfblog.blog.entity.Tag;
import com.tfblog.blog.entity.Type;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tfeng
 * @since 2021-04-26
 */
public interface TagService extends IService<Tag> {

    List<Tag> findTags();

    Tag findTagByName(String name);

    Tag findTagById(Long id);

    void deleteById(Long id);
}
